package com.tensquare.qa.client.impl;

import com.tensquare.qa.client.BaseClient;
import eneity.Result;
import eneity.StatusCode;
import org.springframework.stereotype.Component;

/**
 * 如果被调用的微服务挂掉了，会走这个类的方法
 * @Author: fxx
 * @Date: 2021/1/25 12:05
 */
@Component
public class BaseClientImpl implements BaseClient {
    @Override
    public Result findById(String labelId) {
        return new Result(true, StatusCode.ERROR, "熔断器触发了");
    }
}
